﻿using FluentNHibernate.Mapping;

namespace NHibernate.Identity.Internal.Mapping
{
    internal class IdentityUserLoginMap : ClassMap<IdentityUserLogin>
    {
        public IdentityUserLoginMap()
        {
            Id(x => x.Id);

            Map(x => x.LoginProvider);
            Map(x => x.ProviderKey);

            References(x => x.User).Column("User_Id");

            Table("aspnet_UserLogins");
        }
    }
}